# clihtml

Generates HTML from the CLI, using a basic syntax for constructing the document. Very trusty of user input, so beware.

## Operators

+ open and go into element
. create an element on this level
- leave current element, create new element and go into it
---- same as a single dash (-) but leaves 4 parent elements

@ add attribute to currently open element, no processing done

= after element name sets content directly, good for paragraphs etc.

## Sample usage

clihtml '<!DOCTYPE html>' +html +head .title='cli generated' -body h1='stuff on a stick' +div '@style="background-color:red;"' @align=center +div '@style="width:50%;margin:auto;background-color:green;"' .p='I am a paragraph, look at me go!' --p 'Just backed up twice.' .p=rawr +div +img @src='https://stuff.umeahackerspace.se/kattgatan-cropped.svg'

